package com.lalosoft.neodatisDemo.dao;

import java.util.ArrayList;
import java.util.List;



public class Country {
	
	private String name;
	private List<City> cities;
	
	public Country(String name){
		this.name = name;
		cities = new ArrayList<City>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<City> getCities() {
		return cities;
	}

	public void setCities(List<City> cities) {
		this.cities = cities;
	}

	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append("\n").append(name).append("\n").append(cities);
		return sb.toString();
	}
	

}
